import Vue from 'vue';

export namespace N_cGanttChart {
  export interface GanttItem {
    id: string;
    name: string;
    startTime: Date;
    endTime: Date;
    process: string;
  }

  export interface TaskData {
    begin_time: string;
    create_time: string;
    end_time: string;
    f_name: string;
    hang_group_num: string;
    id: string;
    is_automated_produc: number;
  }

  export interface GanttData {
    date: string;
    items: GanttItem[];
  }
  export interface cGanttChart extends Vue {
    selectedDate: string;
    taskData: TaskData[];
  }
}
